package org.fuys.coder.domain.mailbox.repository;

import org.fuys.coder.domain.mailbox.model.vo.MailVO;

import java.util.List;

/**
 * @projectName: fuys-low-coder
 * @package: org.fuys.coder.domain.mailbox.repository
 * @className: IMailBoxRepository
 * @author: WangJing
 * @description: 收件箱仓储接口
 * @date: 2024/9/6 16:38
 * @version: 1.0
 */
public interface IMailBoxRepository {
    void addMailToUsers(List<String> redisKeys, MailVO mail);

    void clearBoxItems(String redisKey, List<Integer> indexes);

    List<Object> getMailBoxInfo(String redisKey);

    void addMail(String redisKey, MailVO mailVO);
}
